package com.ruoyi.passenger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机角色关联对象 tb_passenger_driver_role
 * 
 * @author ruoyi
 * @date 2025-08-21
 */
public class TbPassengerDriverRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long driverRoleId;

    /** 司机信息表关联ID */
    @Excel(name = "司机信息表关联ID")
    private Long driverId;

    /** 角色名称（代理人员、顺风车司机、通勤司机/班车司机） */
    @Excel(name = "角色名称", readConverterExp = "代=理人员、顺风车司机、通勤司机/班车司机")
    private String roleName;

    public void setDriverRoleId(Long driverRoleId) 
    {
        this.driverRoleId = driverRoleId;
    }

    public Long getDriverRoleId() 
    {
        return driverRoleId;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverRoleId", getDriverRoleId())
            .append("driverId", getDriverId())
            .append("roleName", getRoleName())
            .toString();
    }
}
